import { FileDiffAction } from './fileDiff'
import { UpdateFileAction } from './updateFile'
import { FileReceiveAction } from './fileReceive'
import { ServerConnectActionGroup } from '@/server/action'
import type { ServerConnect } from '@/server/connect'

export class SendActionGroup extends ServerConnectActionGroup {
  constructor(connect: ServerConnect) {
    super('send', connect)

    this.addAction(new FileDiffAction(connect))
    this.addAction(new FileReceiveAction(connect))
    this.addAction(new UpdateFileAction(connect))
  }
}
